package com.liantong.common.mapper;

import com.liantong.common.po.ActivityPhoto;
import com.liantong.common.po.ActivityPhotoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ActivityPhotoMapper {
    int countByExample(ActivityPhotoExample example);

    int deleteByExample(ActivityPhotoExample example);

    List<ActivityPhoto> selectByExample(ActivityPhotoExample example);

    int updateByExampleSelective(@Param("record") ActivityPhoto record, @Param("example") ActivityPhotoExample example);

    int updateByExample(@Param("record") ActivityPhoto record, @Param("example") ActivityPhotoExample example);

    List<ActivityPhoto> selectByExampleAndPage(ActivityPhotoExample example, RowBounds rowBound);

    int deleteByPrimaryKey(String id);

    int insert(ActivityPhoto record);

    int insertSelective(ActivityPhoto record);

    ActivityPhoto selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(ActivityPhoto record);

    int updateByPrimaryKey(ActivityPhoto record);
}